package com.pipi.sso.core.service;

import com.pipi.sso.core.model.RepairBO;
import com.pipi.sso.dao.support.PageResult;

import java.util.List;

/**
 * All rights Reserved, Designed By www.maihaoche.com
 *
 * @Package com.pipi.sso.core.service
 * @date: 2019/4/15 4:12 PM
 * @Copyright: 2017-2020 www.maihaoche.com Inc. All rights reserved.
 */
public interface RepairService {

    /**
     * <p> 分页条件查询 </p>
     * @param repairBO
     * @return PageResult<RepairBO>
     * @throws
     * @date 2019/4/15 4:14 PM
     */
    PageResult<RepairBO> queryByPaged(RepairBO repairBO);

    /**
     * <p> 条件查询 </p>
     * @param repairBO
     * @return List<RepairBO>
     * @throws
     * @date 2019/4/15 4:29 PM
     */
    List<RepairBO> queryNoPaged(RepairBO repairBO);

    /**
     * <p> 添加报修信息 </p>
     * @param repairBO
     * @return void
     * @throws
     * @date 2019/4/15 4:31 PM
     */
    void addRepair(RepairBO repairBO);

    /**
     * <p> 删除报修 </p>
     * @param repairIds
     * @return void
     * @throws
     * @date 2019/4/15 6:17 PM
     */
    void deleteRepair(List<Long> repairIds);

    /**
     * <p> 更新 </p>
     * @param repairBO
     * @return void
     * @throws
     * @date 2019/4/15 7:08 PM
     */
    void updateRepair(RepairBO repairBO);
}
